﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Sustainalytics.Entities;
using Sustainalytics.Entities.Governance;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sustainalytics.Governance.Computing
{
    public class GovernanceComputeResult
    {
        public Guid CompanyId { get; set; }
        public string CompanyName { get; set; }

        public string RegionCode { get; set; }
        public int RegionCount { get; set; }
        public string PeerGroup { get; set; }
        public int PeerGroupCount { get; set; }
        public int PeerGroupRank { get; set; }
        public double MarketCapitalization { get; set; }

        [BsonRepresentation(BsonType.String)]
        public AssessmentType Assessment { get; set; }
        public double Score { get; set; }
        public double Weight { get; set; }
        public double WeightedScore { get; set; }
        

        public List<GovernanceIssueComputeResult> IssueComputeResults { get; set; }

    }
}
